<?php


use Drupal\points\Entity\Points;

function points_edit_page(Points $e) {
  module_load_include('inc', 'points', 'points.forms');
  $e->setOnlyUpdate(TRUE);
  return drupal_get_form('points_entity_form', $e, 'edit');
}
